package com.jgame.secondarymarket.infrastructure.excetpions;

/**
 * @title: BussnessException
 * @Author Wangsj
 * @Date: 2021/7/22
 */
public class BussnessException extends BaseException {
    public BussnessException() {
        super();
    }

    public BussnessException(String message) {
        super(message);
    }

    public BussnessException(String message, Throwable cause) {
        super(message, cause);
    }

    public BussnessException(Throwable cause) {
        super(cause);
    }

    public static BussnessException throwException(String msg) {
        return new BussnessException(msg);
    }

    public static BussnessException throwException(String msg, Throwable cause) {
        return new BussnessException(msg, cause);
    }

    public static BussnessException throwException(Throwable cause) {
        return new BussnessException(cause);
    }
}
